<?php session_start();  
if(!isset($_SESSION['id'])){header('Location:../../admin/index.php');}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<meta name="author" content="piochino" />

	<title>Untitled 3</title>
</head>

<body>
<?php

    if(isset($_SESSION['id'])){
        echo 'SUCCESS !'.$_SESSION['id'];
      
       
    }

?>

</body>
</html>